The library functions typically operate on parsed versions of URLs. These are actually vectors of the form:
[type user password host port file target attributes full]
where
httpnil;nil;nil;nil;nil. This doesn't
necessarily actually refer to a file;nil;nil;t for a fully-specified URL, with a host
part indicated by ‘//’ after the scheme part.These attributes have
accessors named url-part, where
part is the name of one of the elements above, e.g.,
url-host. Similarly, there are setters of the form
url-set-part.
There are functions for parsing and unparsing between the string and vector forms.